package com.wanxi.dao.front;

import com.wanxi.domain.front.FootInfoModel;
import com.wanxi.domain.front.TopInfoModel;
import com.wanxi.domain.front.TopNavModel;

import java.util.List;

public interface HomeDao {

    /*设置首页顶部信息*/
    List<TopInfoModel>  getTopInfo();

    /*设置首页导航栏信息*/
    List<TopNavModel> getNavInfo();

    /*设置首页底部信息*/
    List<FootInfoModel> getFootInfo();

    int insertNav(TopNavModel topNavModel);

    int deleteNavByTitle(int title);

    int insertFoot(FootInfoModel footInfoModel);

    int deleteFootByTitle(int title);

    int updateNav(TopNavModel navModel);

    int updateFoot(FootInfoModel footInfoModel);




}
